#include "stdlib.h"
#include "stdio.h"
#include <string>
#include <iostream>
#include <sstream>
#include "Person.h"

/*Constants*/

#define	newline printf("\n")

const	int intConstant=5;

using namespace std;

int main(int argc, char** argv) {

	Person person1;				//default constructor
	Person person2("xxx","xxx",0);
	//Person person3();				//wrong

	/*Pointer to classes*/
	Person	p1,*p2,*p3;
	Person *p4 = new Person[2];
	p2 = new Person;

	p1.setAge(1);
	p2->setAge(2);
	p4[1].setAge(4);

	delete[] p4;
	delete p2;




	//cout << person.getAge();
	/*variable initializaion*/
	//int a(5),b=2,c;

	//string	test1 = "string test1";
	//string	test2 ("string test2");

	//c= (a>b) ? a : b;			//if a>b c=a else c=b

	//newline;

	/*Operatos*/
	//a+=b;					//a=a+b
	//a=11%3;					//a is the remainder from dividing 11 between 3

	/*cout output stream*/
	//cout << "This is a test with the variable a=" << a << "\n";

	/*cin input stream*/
	//cout << "Enter an integer value:";
	//cin >> c >> a;
	//cout << c << "\n";

	//cout << "Enter an string:";
	//getline(cin,test1);
	//cout << test1;

	/*sstream*/
	//string	strtoint("123");
	//int	value;
	//stringstream(strtoint)>>value;



	/*Functions*/
	
	return 0;
}
